package demo3;
class Student9{
    String name;
    {
        System.out.println("我是构造代码块");
    }
    public Student9(){
        System.out.println("我是Student类的构造方法");
    }
}
public class d12 {
    public static void main(String[] args) {
        Student9 stu1 = new Student9();
        Student9 stu2 = new Student9();
    }
}

